#ifndef _ERP_FCC_PROCESSING_1_MODEL_H
#define _ERP_FCC_PROCESSING_1_MODEL_H
#include "atomic.h"

class ERP_FCC_processing_1_model : public Atomic
{
public:
	ERP_FCC_processing_1_model( const string & name = "ERP_FCC_processing_1_model" );
	inline string className() const
	{
		return "ERP_FCC_processing_1_model" ;
	}

protected:
	Model &initFunction();
	Model &externalFunction(const ExternalMessage &);
	Model &internalFunction(const InternalMessage &);
	Model &outputFunction(const InternalMessage &);

private:
	const Port &ERP_FCC_1_stream_VGO;
	float ERP_FCC_1_stream_VGO_flowrate;

	Port &ERP_FCC_1_stream_GASO;
	float ERP_FCC_1_stream_GASO_flowrate;
	Port &ERP_FCC_1_stream_OP;
	float ERP_FCC_1_stream_OP_flowrate;
	Port &ERP_FCC_1_stream_DO;
	float ERP_FCC_1_stream_DO_flowrate;

	float ERP_FCC_1_stream_DO_yield_val;
	float ERP_FCC_1_stream_VGO_yield_val;
	float ERP_FCC_1_stream_GASO_yield_val;


	Time delay;
	float total_flowrate;
	int count;
};

#endif
